package org.example.classtopia.Service;

import org.example.classtopia.Common.Result.Result;
import org.example.classtopia.Model.vo.CollectionVO;
import org.example.classtopia.Model.vo.PageResultVO;

public interface PostCollectionsService {
    Result CollectPost(Long postId, Long userId);
    Result CancelCollectPost(Long postId, Long userId);
    PageResultVO<CollectionVO> FindAllPostByUserId(Long userId, int pageNum, int pageSize);
    Result isCollectPost(Long postId, Long userId);
}
